﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Data.Sqlite;
using DbJobsApi.Extensions;
using DbJobsApi.Dto;
using DbJobsApi.Dto.DbConn;

namespace DbJobsApi.Controllers
{
    [Route("/api/[controller]/[action]")]
    [ApiController]
    public class ValuesController : ControllerBase
    {
        public object checkUpdate(string ver = null)
        {
            return new
            { 
                ver = 0.1,
                url = "http://localhost:15888/dbbox0.2.zip",
                size = 1024 * 1024,
                md5 = "abcdefghijk"
            };
        }
    }
}
